import request from '@/utils/request'

// 查询视功能体检记录列表
export function listFilesStudentRecordSgn(query) {
  return request({
    url: '/files/filesStudentRecordSgn/list',
    method: 'get',
    params: query
  })
}

// 查询视功能体检记录详细
export function getFilesStudentRecordSgn(id) {
  return request({
    url: '/files/filesStudentRecordSgn/' + id,
    method: 'get'
  })
}

// 新增视功能体检记录
export function addFilesStudentRecordSgn(data) {
  return request({
    url: '/files/filesStudentRecordSgn',
    method: 'post',
    data: data
  })
}

// 修改视功能体检记录
export function updateFilesStudentRecordSgn(data) {
  return request({
    url: '/files/filesStudentRecordSgn',
    method: 'put',
    data: data
  })
}

// 删除视功能体检记录
export function delFilesStudentRecordSgn(id) {
  return request({
    url: '/files/filesStudentRecordSgn/' + id,
    method: 'delete'
  })
}
